﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace IndoorPosition.Server.Application
{
    /// <summary>
    /// 建筑物信息数据输出对象
    /// </summary>
    public class BuildingDto
    {
        /// <summary>
        /// ID
        /// </summary>
        public int Id
        {
            get;
            set;
        }

        /// <summary>
        /// 建筑物名称
        /// </summary>
        public string Name
        {
            get;
            set;
        }

        /// <summary>
        /// 模型参照点X坐标
        /// </summary>
        public double X0
        {
            get;
            set;
        }

        /// <summary>
        /// 模型参照点Y坐标
        /// </summary>
        public double Y0
        {
            get;
            set;
        }


        /// <summary>
        /// 模型坐标X0对应的WGS84墨卡托投影坐标
        /// </summary>
        public double X
        {
            get;
            set;
        }

        /// <summary>
        /// 模型坐标Y0对应的WGS84墨卡托投影坐标
        /// </summary>
        public double Y
        {
            get;
            set;
        }

        /// <summary>
        /// 建筑物高程
        /// </summary>
        public double Height
        {
            get;
            set;
        }

        /// <summary>
        /// 场景URL
        /// </summary>
        public string Model
        {
            get;
            set;
        }

        /// <summary>
        /// 所属项目
        /// </summary>
        public ProjectDto Project
        {
            get;
            set;
        }

        /// <summary>
        /// 楼层
        /// </summary>
        public List<FloorDto> Floors
        {
            get;
            set;
        }
    }
}
